package com.sunnay.constant;

public class GbRedisKey {

    /**
     * 存储sessionId相关key 来保证单点在线
     */
    public final static String GB_ONLINE_KEY = "APP:ONLINE:%s";

    /**
     * 存储被踢的click名单
     */
    public final static String GB_ONLINE_KICK_KEY = "APP:KICK";

    /**
     * 获取微信设置信息
     */
    public final static String WX_SETTING_INFO = "APP:WX:SETTING:%s";

    /**
     * 公共accessToken %s 微信appId
     */
    public final static String KEY_ACCESS_TOKEN_LIST = "APP:ACCESS:TOKEN:%s";

    //商品参团人数信号量 %s:商品标识 %s;版本号
    public static final String GOODS_SEMAPHORE_TEMPLATE = "APP:GOODS:SEMAPHORE:%s_%s";

    //订单计算佣金信号量 %s:商品标识   %s:商品版本号
    public static final String ORDER_SEMAPHORE_TEMPLATE = "APP:ORDER:SEMAPHORE:%s_%s";

    //模块列表 %s-模块类型
    public final static String ADVERT_LIST = "ADVERT:LIST:%s";


    //存储手机验证码 %s:手机号  %s:业务场景 1:审核认证  2:绑定手机号 3:提醒发货  4:登录
    public final static String GB_SMS_CODE = "APP:SMS:%s:%s";
    //%s-手机号  手机号预检签名
    public static final String GB_PHONE_PRECHECK_SIGN = "APP:PHONE:PRECHECK:%s";

    //存储二维码票据
    public static final String USER_QRCODE_TICKET = "APP:QRCODE:TICKET:%s";
    public static final String USER_QRCODE_TICKET_PREFIX = "APP:QRCODE:TICKET";
    //二维码设置信息 %s-类型
    public static final String QRCODE_SETTING = "APP:QRCODE:SETTING:%s";

    //系统设置阈值
    public static final String SYSTEM_SETTING = "APP:SYSTEM:SETTING";

    //%s-商品标识
    public static final String GOODS_TEMP_MEDIA_ID = "APP:GOODS:MEDIA:%s";
    //%s-类型
    public static final String INVITE_TEMP_MEDIA_ID = "APP:INVITE:MEDIA:%s";

    //%s-商品标签列表
    public static final String GOODS_LIST_FLAG = "APP:GOODS:LIST:%s";

    //%s-权重模式
    public static final String GOODS_WEIGHT_MODE = "APP:GOODS:WEIGHT:MODE";
}
